$(function () {
    setStage("test", "body", 800, 600);
    setStageBackGround("./img/room1.jpg");
    setStageText(780, 170, 420, 10, "rgba(0,0,0,0.5)");
    setText("进入1a路线");
    var num = 0;
    $("#test").click(function () {
        num++;
        //当判断num为最后切换“树节点” 既进入event分支
        if (num > 999) {
            //$("#eventJs").attr("src","");
        } else {
            exeFun("tsEvent", num);
        }
    })
});

function tsEvent(num) {
    if (num === 1) {
        appendImg("./img/tachi01a.png", "tebg1", 483, 600, 0, 158.3);
        setText("测试新立绘")
    }


}